package com.felix.spider.domain;

public class TrainTime {
    private String id;
    private String sno;
    private String trainNumber;
    private String stationName;
    private String arrivalTime;
    private String startTime;
    private String walkTime;
    private String mileage;

    public TrainTime(String sno, String trainNumber, String stationName, String arrivalTime, String startTime, String walkTime, String mileage) {
        this.sno = sno;
        this.trainNumber = trainNumber;
        this.stationName = stationName;
        this.arrivalTime = arrivalTime;
        this.startTime = startTime;
        this.walkTime = walkTime;
        this.mileage = mileage;
    }

    @Override
    public String toString() {
        return "TrainTime{" +
                "id='" + id + '\'' +
                ", sno='" + sno + '\'' +
                ", trainNumber='" + trainNumber + '\'' +
                ", stationName='" + stationName + '\'' +
                ", arrivalTime='" + arrivalTime + '\'' +
                ", startTime='" + startTime + '\'' +
                ", walkTime='" + walkTime + '\'' +
                ", mileage='" + mileage + '\'' +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public String getArrivalTime() {
        return arrivalTime;
    }

    public void setArrivalTime(String arrivalTime) {
        this.arrivalTime = arrivalTime;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getWalkTime() {
        return walkTime;
    }

    public void setWalkTime(String walkTime) {
        this.walkTime = walkTime;
    }

    public String getMileage() {
        return mileage;
    }

    public void setMileage(String mileage) {
        this.mileage = mileage;
    }
}
